<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<style>
		p {
			color: #fff;
			background: #888;
			width: 200px;
			line-height: 100px;
			text-align: center;
			margin: 100px;
		}

		.warp {
			overflow: hidden;
		}
	</style>
</head>


<body>
	<p>ABC</p>
	<div class="warp">
		<p>abc</p>
	</div>

</body>

</html>